
<nav class="navbar navbar-fixed-top navbar-inverse">
  <div class="container">
    <div class="navbar-header">
      <!-- Collapsed Hamburger -->
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
        <span class="sr-only">Toggle Navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <!-- Branding Image -->
      <a class="navbar-brand active" href="/">
          <img src="/logo56x56.png" width="35"
               height="35" alt="trytv.org logo">
      </a>
    </div>

    <div class="collapse navbar-collapse navbar-warning-collapse" id="app-navbar-collapse">
      <!-- Left Side Of Navbar -->
      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="/" data-target="#" class="dropdown-toggle" data-toggle="dropdown">美剧管理
            <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li ><a href={{url('show')}}>show汇总</a></li>
            <li ><a href={{url('show/create')}}>show创建</a></li>
            <li ><a href={{url('swapShow/396')}}>ep需要归档</a></li>
            <li ><a href={{url('show/126')}}>ep纪录片mv等</a></li>
          </ul>
        </li>
      </ul>

      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="/" data-target="#" class="dropdown-toggle" data-toggle="dropdown">文章管理
            <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li ><a href={{url('article')}}>文章管理</a></li>
            <li ><a href="{{url('tag/create')}}">增加标签</a></li>
            <li ><a href="{{url('article/create')}}">发表文章</a></li>
            <li ><a href="{{url('tag')}}">标签管理</a></li>
          </ul>
        </li>
      </ul>

      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="/" data-target="#" class="dropdown-toggle" data-toggle="dropdown">电影管理
            <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li ><a href="{{url('movie')}}">电影管理</a></li>
            <li ><a href="{{url('movie/create')}}">创建电影</a></li>
            <li ><a href={{url('/moveEpToMovieContainer')}}>把未归档剧集移到电影容器</a></li>
            <li ><a href={{url('/movie/164')}}>电影容器需要归档</a></li>
            <li ><a href={{url('/createMovieBySelectEpsInShow/396')}}>396未归档</a></li>
            <li ><a href={{url('/createMovieBySelectEpsInShow/126')}}>126eztv纪录片</a></li>
            <li ><a href={{url('/createMovieBySelectEpsInShow/709')}}>709 other country show</a></li>
            <li ><a href={{url('/movieWithoutImage')}}>没有图片的电影</a></li>
            <li ><a href={{url('/movieWithoutDescription')}}>没有文字说明的电影</a></li>
          </ul>
        </li>
      </ul>


      <ul class="nav navbar-nav">
        <li class="dropdown">
          <a href="/" data-target="#" class="dropdown-toggle" data-toggle="dropdown">图片管理
            <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li ><a href="{{url('image')}}">图片管理</a></li>
            <li ><a href="{{url('image/qiniuIndex')}}">七牛管理</a></li>
            <li ><a href="{{url('image/create')}}">图片上传</a></li>
            <li ><a href="{{url('image/fixImageAltDescription')}}">修复图片ALT细信息</a></li>
          </ul>
        </li>
      </ul>


        <!-- Right Side Of Navbar -->
      <ul class="nav navbar-nav navbar-right">
        @if (Auth::guest())
          <li><a href="{{ url('/login') }}">登陆</a></li>
          <li><a href="{{ url('/register') }}">注册</a></li>
        @else
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
              {{ Auth::user()->name }} <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" role="menu">
              <li><a href="{{ url('/logout') }}"><i class="fa fa-btn fa-sign-out"></i>注销</a></li>
              <li><a href="{{ url('/article/create') }}"><span class="fa fa-american-sign-language-interpreting"></span>管理</a></li>
            </ul>
          </li>
        @endif
      </ul>
    </div>
  </div>
</nav>


